//==============================================================================
//
// Title:       ElectronicLoad.h
// Purpose:     A short description of the interface.
//
// Created on:  2012-4-26 at 15:53:50 by luh.
// Copyright:   dafda. All Rights Reserved.
//
//==============================================================================

#ifndef __ElectronicLoad_H__
#define __ElectronicLoad_H__

#ifdef __cplusplus
    extern "C" {
#endif

//==============================================================================
// Include files

#include "cvidef.h"

extern ViSession g_vi_sInitHandleAGN3300A;
int InitAgn3300a(void);
int SetupLoadCCMode(ViSession g_hInitHandleAGN3300A ,int iChannel,float dCurrent);
int ReadVoltageFromOneChannelELoad(ViSession g_hInitHandleAGN3300A ,int iChannel,float dDelay,double* dresult);
int ReadVoltageFromTwoChannelELoad(ViSession g_hInitHandleAGN3300A ,int iChannel,float dDelay,double* dresult);
int ReadVoltageELoadDisabled( ViSession g_hInitHandleAGN3300A ,int iChannel,float dDelay,double* dresult);
int ReadELoadTestResult(ViSession g_hInitHandleAGN3300A ,int iChannel,float dCurrent,float dDelay,double* dresult);
int SetInputState(ViSession g_hInitHandleAGN3300A ,int iChannel,ViBoolean inputState);

#ifdef __cplusplus
    }
#endif

#endif  /* ndef __ElectronicLoad_H__ */
